import request from '@/utils/request/index'

function getList(data) {
	return request({
		url: '/api/comments/getList',
		data: data,
	});
}

function my(data) {
	return request({
		url: '/api/comments/my',
		data: data,
	});
}

function send(data) {
	return request({
		url: '/api/comments/send',
		method: 'POST',
		data: data,
	});
}

function deleteAlias(data) {
	return request({
		url: '/api/comments/delete',
		method: 'POST',
		data: data,
	});
}

export default {
	getList,
	my,
	send,
	delete: deleteAlias
}